package com.jpro.module.system.controller.admin.usergroup.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static com.jpro.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 用户和会员组关联 Excel 导出 Request VO，参数和 UserGroupPageReqVO 是一致的")
@Data
public class UserGroupExportReqVO {

    @Schema(description = "用户ID", example = "22966")
    private Long userId;

    @Schema(description = "会员组ID", example = "9526")
    private Long groupId;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
